//
//  ZYXHomeOneModel.m
//  RuiBeiKang
//
//  Created by iOS开发1 on 2019/1/3.
//  Copyright © 2019年 JW. All rights reserved.
//

#import "ZYXHomeModel.h"
@class ZYXHomeComModel,ZYXHomeBannerModel;

@implementation ZYXHomeModel
+ (NSDictionary *)mj_objectClassInArray{
    return @{@"fenlei":@"ZYXHomeComModel",
             @"tuijian":@"ZYXHomeComModel",
             @"xin":@"ZYXHomeComModel",
             @"news":@"ZYXHomeComModel",
             @"banner_list":@"ZYXHomeBannerModel"
             };
}

- (void)mj_keyValuesDidFinishConvertingToObject {

}
@end

@implementation ZYXHomeOneModel
-(instancetype)initWitImgStr:(NSString *)image title:(NSString *)DetStr{
    if (self = [super init]) {
        self.imgStr = image;
        self.labelStr = DetStr;
    }
    return self;
}
@end
@implementation ZYXHomeComModel
+ (NSDictionary *)mj_replacedKeyFromPropertyName {
    return @{
             @"uid" : @[@"id"],
             @"picUrl" : @[@"ad_img",@"picurl",@"pic"]
             };
}

@end
@implementation ZYXHomeBannerModel : NSObject

@end
